package cn.lanqiao.service;

import cn.lanqiao.entity.Pages;
import cn.lanqiao.entity.Teacher;

public interface TeacherService {

	//分页
	public Pages<Teacher> teacherPage( int indexPage , int pageSize , String searchkey);
	//查看详情
	public Teacher getTeacherById(Integer teacherId);
	//删除
	public int deleteTeacher(Integer teacherId);
	//修改
	public int updateTeacher(Teacher teacher);
	
	//添加
	int add(Teacher teacher);
}
